import requests

r = requests.get("http://www.baidu.com")

print (r.text)